<template>
  <el-table :data="data" style="width: 100%">
    <el-table-column prop="id" label="编号" width="100"></el-table-column>
    <el-table-column prop="title" label="标题" width="200"></el-table-column>
    <el-table-column prop="type" label="类型" width="100"></el-table-column>
    <el-table-column prop="reporter" label="报告人" width="100"></el-table-column>
    <el-table-column prop="reportTime" label="报告时间"></el-table-column>
    <el-table-column prop="description" label="相关描述"></el-table-column>
    <el-table-column label="详细信息" width="120">
      <template #default>
        <el-button size="small">详细信息</el-button>
      </template>
    </el-table-column>
  </el-table>
</template>

<script lang="ts" setup>
defineProps({
  data: {
    type: Array,
    required: true
  }
})
</script>